package com.ruowei.modules.foodOrder.web.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class HistoryOrderDTO {

    @ApiModelProperty(value = "商家编码")
    private String merchantCode;

    @ApiModelProperty(value = "订单编码")
    private String orderCode;

    @ApiModelProperty(value = "商家名称")
    private String merchantName;

    @ApiModelProperty(value = "商家照片")
    private String photos;

    @ApiModelProperty(value = "实付金额")
    private BigDecimal payAmount;

    @ApiModelProperty(value = "总金额")
    private BigDecimal totalAmount;

    @ApiModelProperty(value = "状态 待支付、待接单、商家已接单、配送员已接单、已送达、退款中、已退款、退款失败")
    private String status;

    @ApiModelProperty(value = "商品列表")
    private List<OrderGoodsDTO> merchandiseList;

}
